﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddProduct.aspx.cs" Inherits="ProductManager_AddProduct" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../css/css.css" type="text/css" rel="stylesheet"/>
    <script src="../javascript/jscript.js" type="text/javascript"></script>
    <title>后台管理</title>
</head>
<body>
     <table class='table' cellspacing='1' cellpadding='3' width="98%" align='center' border='0'>
          <tbody>
            <tr>
              <td class='xingmu'>添加产品</td>
            </tr>
            
             <tr>
                <td class='hback'>
              
                  <form id="form1" runat="server">
                      <asp:ScriptManager ID="ScriptManager1" runat="server">
                      </asp:ScriptManager>
                      <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
                      <ContentTemplate>--%>
                      
                      
                      
                    <div>
                                
                         <table cellspacing='1' cellpadding='3' width="98%" align='center' border='0'>
                            <tr>
                                <td width="50%" align='right'>
                                    产品名称：</td>
                                <td  width="50%" align='left'>
                                    <asp:TextBox ID="pNAME" runat="server" Width="155px" MaxLength="16"></asp:TextBox>
                                    <asp:TextBox ID="RECORDID" runat="server" style="display:none"></asp:TextBox></td>
                            </tr>
                            <tr>
                                 <td width="50%" align='right'>
                                     品牌：</td>
                                <td  width="50%" align='left'><asp:DropDownList ID="pPingPai" runat="server" Width="159px">
                                </asp:DropDownList></td>
                            </tr>
                            
                            
                            <tr>
                                <td width="50%" align='right'>
                                    展示区域：</td>
                                <td  width="50%" align='left'>
                                    <asp:DropDownList ID="pZhanShiQuYu" runat="server" Width="159px" AutoPostBack="True" OnSelectedIndexChanged="pZhanShiQuYu_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td width="50%" align='right'>
                                    产品大类：</td>
                                <td  width="50%" align='left'>
                                    <asp:DropDownList ID="pChanPingDaLei" runat="server" Width="159px" AutoPostBack="True" OnSelectedIndexChanged="pChanPingDaLei_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="50%" align='right'>
                                    产品小类：</td>
                                <td  width="50%" align='left'>
                                    <asp:DropDownList ID="pChanPingXiaLei" runat="server" Width="159px" AutoPostBack="True" OnSelectedIndexChanged="pChanPingXiaLei_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            
                            
                            <tr>
                                <td width="50%" align='right'>
                                    销售类型：</td>
                                <td  width="50%" align='left'>
                                    <asp:DropDownList ID="pXiaoshouLeiXing" runat="server" Width="159px">
                                        <asp:ListItem Value="最新商品">最新商品</asp:ListItem>
                                        <asp:ListItem>热卖商品</asp:ListItem>
                                        <asp:ListItem>精品推荐</asp:ListItem>
                                        <asp:ListItem>强力推荐</asp:ListItem>
                                        <asp:ListItem>推广商品</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            
                            <tr>
                                <td width="50%" align='right'>
                                    库存数量：</td>
                                <td  width="50%" align='left'>
                                   <asp:TextBox ID="pKuCunShuLiang" runat="server" Width="149px"></asp:TextBox></td>
                            </tr>
                            
                            
                            <tr>
                                <td width="50%" align='right'>
                                    重量(kg)：</td>
                                <td  width="50%" align='left'>
                                    <asp:TextBox ID="pZhongLiang" runat="server" Width="149px"></asp:TextBox></td>
                            </tr>
                            
                            <tr>
                                <td width="50%" align='right'>
                                    市场价：</td>
                                <td  width="50%" align='left'>
                                    <asp:TextBox ID="pShiChangJiaGe" runat="server" Width="149px"></asp:TextBox></td>
                            </tr>
                            
                            
                             <tr>
                                <td width="50%" align='right'>
                                    价格：</td>
                                <td  width="50%" align='left'>
                                    <asp:TextBox ID="pJiaGe" runat="server" Width="149px"></asp:TextBox></td>
                            </tr>
                             <tr>
                                <td width="50%" align='right'>
                                    折扣率：</td>
                                <td  width="50%" align='left'>
                                    <asp:DropDownList ID="pZheKouLu" runat="server" Width="159px">
                                        <asp:ListItem Value="1">100%</asp:ListItem>
                                        <asp:ListItem Value="0.9">90%</asp:ListItem>
                                        <asp:ListItem Value="0.8">80%</asp:ListItem>
                                        <asp:ListItem Value="0.7">70%</asp:ListItem>
                                        <asp:ListItem Value="0.6">60%</asp:ListItem>
                                        <asp:ListItem Value="0.5">50%</asp:ListItem>
                                        <asp:ListItem Value="0.4">40%</asp:ListItem>
                                        <asp:ListItem Value="0.3">30%</asp:ListItem>
                                        <asp:ListItem Value="0.2">20%</asp:ListItem>
                                        <asp:ListItem Value="0.1">10%</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                             <tr>
                                <td width="50%" align='right'>
                                    图片：</td>
                                <td  width="50%" align='left'>
                                    <asp:TextBox ID="pTuPian" runat="server" Width="358px"></asp:TextBox>
                                     <asp:FileUpload ID="FileUpload1" runat="server" Width="65px" />
                                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="上传" />
                                    
                                    </td>
                            </tr>
                             <tr>
                                <td width="50%" align='right' style="height: 100px">
                                    描述：</td>
                                <td  width="50%" align='left' style="height: 100px">
                                    <asp:TextBox ID="pMiaoShu" runat="server" Height="79px" TextMode="MultiLine" Width="356px"></asp:TextBox></td>
                            </tr>
                            
                            <tr>
                                <td width="50%" align='right'>
                                    <asp:Button ID="Submit" runat="server" Text="提 交" OnClick="Submit_Click" />
                                </td>
                                <td  width="50%" align='left'>
                                    <input type="reset" name="reset" value="重 置"/>
                                </td>
                            </tr>

                            
                            
                         </table>
                    </div>
                    
                                        <%--  </ContentTemplate>
                      </asp:UpdatePanel>--%>

                    </form>
                </td>
             </tr>
          </tbody>
        </table>
</body>
</html>
